package com.supplychainapi.common;

public enum CommonCode {

	SUCCESS("200","请求成功"),
	PARAM_NOT_NULL("400001","请求参数无法获取"),
	SIGN_FAIL("400002","签名失败"),
	SOURCE_NOT_NULL("400003","数据来源不能为空"),
	SOURCE_ERROR("400004","数据来源不正确"),
	SUBTIME_NOT_NULL("400005","提交时间不能为空"),
	SUBTIME_ERROR("400006","提交时间格式错误"),
	DuplicateKey_ERROR("400007","主键重复,请重试")
	;
	
	private String code;
	private String desc;

	private CommonCode(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public String getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}
	
}
